package com.shp.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Description:
 *  求购表
 * @author zwl
 * @version 1.0
 * @date 2020/3/6 14:30
 */
@JsonIgnoreProperties(value = "handler")
public class Need {
    private Integer id;
    private Integer user_id;
    private User user;
    private String detail;
    private String start_date;
    private String end_date;
    private Byte status;

    @Override
    public String toString() {
        return "Need{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", user=" + user +
                ", detail='" + detail + '\'' +
                ", start_date='" + start_date + '\'' +
                ", end_date='" + end_date + '\'' +
                ", status=" + status +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getEnd_date() {
        return end_date;
    }

    public void setEnd_date(String end_date) {
        this.end_date = end_date;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
